package org.jet.emall.prod.po;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * sku图片库
 * </p>
 *
 * @author xiaozai
 * @since 2020-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_prod_sku_image")
@ApiModel(value="ProdSkuImage对象", description="sku图片库")
public class ProdSkuImage implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long skuId;

    @ApiModelProperty(value = "缩略图,展示在主图下方列表")
    private String image;

    @ApiModelProperty(value = "货品主图")
    private String largeImage;

    @TableLogic
    @ApiModelProperty(value = "逻辑删除: 1-已删除, 0-未删除")
    private Byte deleted;


}
